package com.yxg.architecture.customermgr.dao;

import com.yxg.architecture.customermgr.vo.CustomerModel;
import com.yxg.architecture.customermgr.vo.CustomerQueryModel;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 * Created By yaoxuguang
 * Date: 2018/5/6
 * Time: 21:37
 */
@Repository
public interface CustomerDAO {
    void create(CustomerModel model);
    void update(CustomerModel model);
    void delete(int uuid);

    CustomerModel getByUuid(int uuid);
    List<CustomerModel> getByCondition(CustomerQueryModel cqm);

}
